import request from '@/utils/request';

export function changeType(data){
  return request({
    method:"post",
    url:"/comprehensive/lakeapply/changeType",
    data
  });
}

export function manyAudit(data){
  return request({
    method:"post",
    url:"/comprehensive/lakeapply/manyAudit",
    data
  });
}

export function jwcExport(params){
  return request({
    url:"/comprehensive/lakeapply/jwcExport",
    method:"GET",
    params
  });
}

export function jwcAudit(data){
  return request({
    method:"post",
    url:"/comprehensive/lakeapply/jwcAudit",
    data
  });
}

export function listJwcAll(params){
  return request({
    url:"/comprehensive/lakeapply/listJwcAll",
    method:"GET",
    params
  });
}

export function listJwc(params){
  return request({
    url:"/comprehensive/lakeapply/listJwc",
    method:"GET",
    params
  });
}

export function xwExport(params){
  return request({
    url:"/comprehensive/lakeapply/xwExport",
    method:"GET",
    params
  });
}

export function xwAudit(data){
  return request({
    method:"post",
    url:"/comprehensive/lakeapply/xwAudit",
    data
  });
}

export function listXwAll(params){
  return request({
    url:"/comprehensive/lakeapply/listXwAll",
    method:"GET",
    params
  });
}

export function listXw(params){
  return request({
    url:"/comprehensive/lakeapply/listXw",
    method:"GET",
    params
  });
}


export function fdyExport(params){
  return request({
    url:"/comprehensive/lakeapply/fdyExport",
    method:"GET",
    params
  });
}

export function fdyAudit(data){
  return request({
    method:"post",
    url:"/comprehensive/lakeapply/fdyAudit",
    data
  });
}

export function listFdyAll(params){
  return request({
    url:"/comprehensive/lakeapply/listFdyAll",
    method:"GET",
    params
  });
}

export function listFdy(params){
  return request({
    url:"/comprehensive/lakeapply/listFdy",
    method:"GET",
    params
  });
}

export function reApplyLake(data){
  return request({
    method:"post",
    url:"/comprehensive/lakeapply/reApplyLake",
    data
  });
}

export function applyTen(data){
  return request({
    method:"post",
    url:"/comprehensive/lakeapply/applyTen",
    data
  });
}

export function applyLake(data){
  return request({
    method:"post",
    url:"/comprehensive/lakeapply/applyLake",
    data
  });
}


export function cancelOwnApply(data){
  return request({
    method:"post",
    url:`/comprehensive/lakeapply/cancelOwnApply`,
    data
  });
}

export function listOwnApply(params){
  return request({
    url:"/comprehensive/lakeapply/listOwnApply",
    method:"GET",
    params
  });
}

// 查询静湖之星申请列表
export function listLakeapply(query) {
  return request({
    url: '/comprehensive/lakeapply/list',
    method: 'get',
    params: query
  })
}

// 查询静湖之星申请详细
export function getLakeapply(id) {
  return request({
    url: '/comprehensive/lakeapply/' + id,
    method: 'get'
  })
}

// 新增静湖之星申请
export function addLakeapply(data) {
  return request({
    url: '/comprehensive/lakeapply/add',
    method: 'post',
    data: data
  })
}

// 修改静湖之星申请
export function updateLakeapply(data) {
  return request({
    url: '/comprehensive/lakeapply/update',
    method: 'post',
    data: data
  })
}

// 删除静湖之星申请
export function delLakeapply(id) {
  return request({
    url: '/comprehensive/lakeapply/' + id,
    method: 'post'
  })
}
